package com.design.structure.bridge.cainiao;

/**
 * @ProjectName: design
 * @Package: com.design.structure.bridge.cainiao
 * @ClassName: BridgePatternDemo
 * @Author: shenaiguo
 * @Description:
 * @Date: 2020/9/2 0002 23:50
 */
public class BridgePatternDemo {
    public static void main(String[] args) {
        Shape redCircle = new Circle(100,100, 10, new RedCircle());
        Shape greenCircle = new Circle(100,100, 10, new GreenCircle());

        redCircle.draw();
        greenCircle.draw();
    }
}
